package com.mdinfo.system.vo;

import lombok.Data;

/**
 * Created by Administrator on 2017/11/22.
 */
public class MenuVo {

    @Data
    public static class ListAllVo{
        private Integer menuId;    //自增主键
        private String name;    //名称
        private String url;     //页面url
        private Integer type;   //权限类型(1:目录,2:菜单/页面,3:功能/按钮)
        private String tag;     //标识
        private String icon;    //图标
        private Integer usable; //是否可用
        private Integer orderNum;   //排序
        private String createTime;  //创建时间
        private Integer pid;       //父id
        private String pname;       //父名称
    }

    @Data
    public static class ListQueryVo{
        private Integer menuId;    //自增主键
        private String name;    //名称
        private String url;     //页面url
        private Integer type;   //权限类型(1:目录,2:菜单/页面,3:功能/按钮)
        private String tag;     //标识
        private String icon;    //图标
        private Integer usable; //是否可用
        private Integer orderNum;   //排序
        private String createTime;  //创建时间
        private Integer pid;       //父id
        private String pname;       //父名称
    }

    @Data
    public static class ListUsableAllVo{
        private Integer menuId;
        private String name;
        private String url;
        private Integer type;
        private String tag;
        private String icon;
        private Integer pid;
    }
}
